#!/bin/bash
# cd /home/django_template_v1 && git pull
# pip3 install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple/
# pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
#python3 manage.py makemigrations users
#python3 manage.py migrate users
#python3 manage.py makemigrations
#python3 manage.py migrate
#python3 manage.py init_asset # 资产初始化
#python3 manage.py init_collect # 采集方案初始化
#python3 manage.py init_system_menu # 系统菜单初始化

echo "init success!"
echo "starting web server!"
sh start.sh web